
import net.sourceforge.jwbf.core.contentRep.Article;
import net.sourceforge.jwbf.mediawiki.bots.MediaWikiBot;


public class crawltest {
   public static void main(String[] args) throws Exception {
      MediaWikiBot b = new MediaWikiBot("http://en.wikipedia.org/w/");
      b.login("wikikraken", "test123");
      Article article = b.readContent("Main Page");
      System.out.println(article.getText());
   }
}